package com.hksj.Intelligentmanagement.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;
import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @ClassName OperatingRoomInfoAndSurgicalAssistantDTO
 * @Description TODO
 * @Author @陈章
 * @Date 2023/4/1 10:10
 * @Version 1.0
 */
@Data
public class OperatingRoomInfoAndSurgicalAssistantDTO {

    private String  id;

    @ApiModelProperty(value = "手术信息表id", required = true)
    @NotBlank(message = "手术信息表id不能为空")
    private String surgicalInfoId;

    @ApiModelProperty(value = "手术间id", required = true)
    @NotNull(message = "手术间id不能为空")
    private String administrativeOfficeId;


    @ApiModelProperty(value = "手术信息", required = true)
    @NotBlank(message = "手术信息不能为空")
    private String surgicalInfo;

    @ApiModelProperty(value = "班次", required = true)
    @NotNull(message = "班次不能为空")
    private String setsNumber;

    @ApiModelProperty(value = "申请时间", required = true)
    @NotNull(message = "申请时间不能为空")
    private String applicationTime;

    @ApiModelProperty(value = "备注")
    private String remake;

    @NotEmpty
    List<AurgicalAssistantRelationDTO> list;
}
